<?php
/**
 * @version		$Id: script.php 3 2011-12-16 20:19:15Z netix.mail@gmail.com $
 * @package		ALM Hoster
 * @desription	Web hosting and domain menager for resellers
 * @subpackage	Components
 * @copyright	Copyright (C) 2011 ALM Studio. All rights reserved.
 * @author		ALM Studio
 * @email		info@alm-studio.net
 * @link		http://alm-studio.net
 * @license		Commercial
 */
// No direct access to this file
defined('_JEXEC') or die('Restricted access');

class com_almhosterInstallerScript
{

	function install($parent) 
	{
		$parent->getParent()->setRedirectURL('index.php?option=com_almhoster');
	}


	function uninstall($parent) 
	{
		echo '<p>' . JText::_('COM_ALMHOSTER_UNINSTALL_TEXT') . '</p>';
	}


	function update($parent) 
	{
		echo '<p>' . JText::_('COM_ALMHOSTER_UPDATE_TEXT') . '</p>';
	}


	function preflight($type, $parent) 
	{
		echo '<p>' . JText::_('COM_ALMHOSTER_PREFLIGHT_' . $type . '_TEXT') . '</p>';
	}


	function postflight($type, $parent) 
	{
		echo '<p>' . JText::_('COM_ALMHOSTER_POSTFLIGHT_' . $type . '_TEXT') . '</p>';
	}
}
